Merge main into live#54766
Open
dotnet-policy-service[bot] wants to merge 34 commits into
Open
Conversation
* Initial plan * Update What's New in .NET 11 docs for Preview 6 - Update all four what's-new articles to say "last updated for Preview 6" - Bump ms.date to 07/14/2026 in all four files - runtime.md: Add Runtime Async performance improvements (JIT async support, async continuations without ExecutionContext, cached continuations, tail-merged suspension points), new JIT improvements (Math.BigMul x64, single-IG prolog removal, SELECT fold, ARM64 Vector<T> by reference for SVE), in-process crash report logging, NativeAOT faster interface dispatch, and SIMD lane construction/composition APIs - libraries.md: Add in-memory stream adapters (ReadOnlyMemoryStream, WritableMemoryStream, ReadOnlySequenceStream, StringStream), async DataAnnotations validation (AsyncValidationAttribute, IAsyncValidatableObject, Validator async methods), JSON C# union type serialization (JsonTypeInfoKind.Union, JsonUnionAttribute), Activity tracing configuration (AddTracing, ActivitySourceFactory), cross-lane vector operations (CreateGeometricSequence, Zip, Unzip, Concat), and Process enhancements (StartSuspended, TryGetProcessById, SafeProcessHandle.Open) - sdk.md: Update NativeAOT CLI to reflect Preview 6 full command surface with tool dispatch, add dotnet test improvements (--no-dependencies, DOTNET_TEST_RUNNER, --ucr, exclusion patterns, per-assembly counts, live in-flight tests, Ctrl+C), test templates for xUnit v3/NUnit MTP, multi-arch Podman container builds, TypeScript Static Web Assets integration, MSBuild server opt-in, and OTEL env var activation; add file-based apps DLL includes - overview.md: Update all three section summaries to include Preview 6 features Fixes #53526 * Address review feedback on libraries.md: Resume comment, JSON samples, Vector64 ordering --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* First draft of `extension` indexers Add the information for extension indexers into the language reference. * Apply suggestions from code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Update docs/csharp/language-reference/keywords/extension.md Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
* First draft Run the first draft for Everyday C# PR 13: iteration statements in C#. * 2nd draft Review and fix language * respond to feedback.
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
* Initial plan * Fix overlocalization risk by codefencing C# conversion keywords * Address review: code-fence implicit-table type keywords --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Bumps Refit.HttpClientFactory from 13.0.0 to 13.1.0 --- updated-dependencies: - dependency-name: Refit.HttpClientFactory dependency-version: 13.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Azure.Storage.Blobs from 12.29.0 to 12.29.1 --- updated-dependencies: - dependency-name: Azure.Storage.Blobs dependency-version: 12.29.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps OpenAI from 2.11.0 to 2.12.0 --- updated-dependencies: - dependency-name: OpenAI dependency-version: 2.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps OpenTelemetry.Instrumentation.AspNetCore from 1.15.2 to 1.16.0 --- updated-dependencies: - dependency-name: OpenTelemetry.Instrumentation.AspNetCore dependency-version: 1.16.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps OpenTelemetry.Instrumentation.AspNetCore from 1.15.2 to 1.16.0 Bumps OpenTelemetry.Instrumentation.Http from 1.15.1 to 1.16.0 --- updated-dependencies: - dependency-name: OpenTelemetry.Instrumentation.AspNetCore dependency-version: 1.16.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: OpenTelemetry.Instrumentation.Http dependency-version: 1.16.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Spectre.Console from 0.57.1 to 0.57.2 --- updated-dependencies: - dependency-name: Spectre.Console dependency-version: 0.57.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.AI.OpenAI from 10.4.1 to 10.7.0 Bumps Microsoft.Extensions.Configuration from 10.0.5 to 10.0.9 Bumps Microsoft.Extensions.Configuration.UserSecrets from 10.0.5 to 10.0.9 --- updated-dependencies: - dependency-name: Microsoft.Extensions.AI.OpenAI dependency-version: 10.7.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: Microsoft.Extensions.Configuration dependency-version: 10.0.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Configuration.UserSecrets dependency-version: 10.0.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Agents.AI.OpenAI from 1.12.0 to 1.13.0 --- updated-dependencies: - dependency-name: Microsoft.Agents.AI.OpenAI dependency-version: 1.13.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.Extensions.Configuration.Binder from 10.0.8 to 10.0.9 Bumps Microsoft.Extensions.Hosting from 10.0.8 to 10.0.9 --- updated-dependencies: - dependency-name: Microsoft.Extensions.Configuration.Binder dependency-version: 10.0.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.Hosting dependency-version: 10.0.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.CodeAnalysis from 5.3.0 to 5.6.0 Bumps Microsoft.CodeAnalysis.CSharp.Workspaces from 5.3.0 to 5.6.0 --- updated-dependencies: - dependency-name: Microsoft.CodeAnalysis dependency-version: 5.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: Microsoft.CodeAnalysis.CSharp.Workspaces dependency-version: 5.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) from 4.36.2 to 4.37.0. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@8aad20d...99df26d) --- updated-dependencies: - dependency-name: github/codeql-action/upload-sarif dependency-version: 4.37.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.19.4 to 2.20.0. - [Release notes](https://github.com/step-security/harden-runner/releases) - [Commits](step-security/harden-runner@9af89fc...bf7454d) --- updated-dependencies: - dependency-name: step-security/harden-runner dependency-version: 2.20.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action) from 23.2.0 to 24.0.0. - [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases) - [Commits](DavidAnson/markdownlint-cli2-action@ded1f94...8de2aa0) --- updated-dependencies: - dependency-name: DavidAnson/markdownlint-cli2-action dependency-version: 24.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps Microsoft.NET.Test.Sdk from 18.6.0 to 18.7.0 --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-version: 18.7.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: Microsoft.NET.Test.Sdk dependency-version: 18.7.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet - dependency-name: Microsoft.NET.Test.Sdk dependency-version: 18.7.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Initial plan * Fix F# tour interface comment * Polish F# tour comment wording --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* Create framewoork * First consolidation phase Consolidate existing diagnostic files. * Add remaining missing diagnostics * First draft rework * Final review. * Apply suggestions from code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…04.3 (#54806) * Initial plan * Fix Snap alias and symlink commands for .NET 10 SDK docs * Revise Snap SDK doc for versioned packages and command mapping * docs: remove misleading snap runtime targeting statement * docs: remove --classic from snap SDK install command * Revise installation instructions for .NET SDK on Linux Updated the installation date and modified instructions for clarity regarding the .NET SDK snap package installation. Added a note about substituting the package version in commands. * Remove linux-release-wait include from SDK install Removed the linux-release-wait include from the installation instructions. * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Add symbolic link instructions for dotnet command Added instructions for creating a symbolic link for dotnet. * Add mixed-install warning to intro and symlink scope note in section 2 * Fix gerund phrase in section 2 symlink scope note --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Andy (Steve) De George <67293991+adegeo@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Add C# 15 extension indexers to extension members tutorial Update the extension members tutorial to cover the C# 15 addition of extension indexers. Reframe the tutorial for C# 14 and C# 15, bump the sample to .NET 11 preview with LangVersion preview, and add an "Add extension indexers" section. The new section introduces a Path type that stores (dX, dY) offsets and adds an extension indexer whose getter computes the absolute Point at an index (from Point.Origin) and whose setter adjusts the offset at that index. Build and run verified on the .NET 11 preview SDK. Closes #54658 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 7fb88c54-e7d1-47af-b8f2-d60b34e50426 * Proofread and update Proofread the article, update the text description and edit for style. * Show ValidatePathIndex helper in the indexer snippet Extend the PathIndexer snippet region to include the private ValidatePathIndex helper the accessors call, so readers see the complete code. Add a sentence noting the shared helper. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 7fb88c54-e7d1-47af-b8f2-d60b34e50426
--- updated-dependencies: - dependency-name: System.Security.Cryptography.Xml dependency-version: 8.0.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--- updated-dependencies: - dependency-name: System.Security.Cryptography.Xml dependency-version: 8.0.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Added links to Cosmos and Postgres caching packages.
* Updates * Update instructions on how to start the chat * Fix nname
Co-authored-by: azure-sdk <azuresdk@microsoft.com>
--- updated-dependencies: - dependency-name: System.Security.Cryptography.Xml dependency-version: 8.0.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: azure-sdk <azuresdk@microsoft.com>
* Link to the correct source of truth Fixes #54088 The tables incorporated had diverged from the official Windows versions. Instead of continuing to chase them, link to the Windows docs. * Apply suggestions from code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Initial plan * fix broken maui docs link in async sample * Apply suggestion from @BillWagner --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Bill Wagner <wiwagn@microsoft.com>
* Consolidate jump-statement diagnostics Add a new themed article, jump-statement-errors.md, covering compiler errors and warnings for the break, continue, goto, and return statements: CS0126, CS0127, CS0139, CS0153, CS0159, CS0161, CS0163, CS0469, and the new CS9393/CS9394 diagnostics for labeled break and continue (dotnet/roslyn#84271). Remove the standalone articles for the consolidated codes, add redirects to the new article, and update the compiler-messages TOC. Async/Task return diagnostics and iterator diagnostics are cross-referenced to their existing themed articles rather than duplicated here. Fixes #54654 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: eb7a86e3-8897-4a45-bb06-0f74d074118b * Apply suggestions from code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Bill Wagner <wiwagn@microsoft.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Document C# 8 misc diagnostics (#54660) Consolidate the remaining C# 8 miscellaneous compiler diagnostics into themed compiler-message articles and remove them from the catch-all. New consolidated articles: - static-local-function-errors.md (CS8421) - index-range-errors.md (CS8428, CS8429) - parsing-errors.md (CS8635, CS8641) — scoped to parser/lexer-stage errors - readonly-member-errors.md (CS8656, CS8662) Added to existing articles: - attribute-usage-errors.md: CS8423 - interface-implementation-errors.md: CS8646 - nullable-warnings.md: CS8650, CS8651, CS8669 Removed all 12 codes from the sorry-we-don-t-have-specifics catch-all and added TOC entries for the new articles. Messages verified against Roslyn source. Note: the issue listed CS8556, which does not exist; the correct readonly-member warning is CS8656. Closes #54660 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 5d7745fb-b209-4027-a20d-793310218421 * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Broaden three C# diagnostic articles (#54660) Follow-up to the C# 8 misc diagnostics work: expand three of the new consolidated articles to cover their full themes (conservative scope — bring in undocumented/standalone codes only; cross-reference codes that already live in other consolidated articles). - static-local-function-errors.md -> local-function-errors.md: all local-function diagnostics. Adds CS8108, CS8112, CS8321, and merges standalone CS8422 (with redirect). - index-range-errors.md -> indexer-access-errors.md: indexer and element access. Adds CS0021, CS0154, CS0271, CS0272, CS0856, CS0857, CS1545, and merges standalone CS1546 (with redirect). - readonly-member-errors.md -> readonly-struct-errors.md: readonly struct declarations and members. Adds CS8340, CS8342. Updates TOC entries and titles for the renames, removes the added codes from the catch-all, and cross-references related diagnostics that remain in their existing articles. Messages verified against Roslyn source. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 5d7745fb-b209-4027-a20d-793310218421 * Address PR review feedback (#54660) - Fix "surpress" -> "suppress" typo in nullable-warnings.md. - Use sentence case for the readonly structs and members TOC entry. The ai-usage disclosure on nullable-warnings.md was already added in a prior autofix commit. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 5d7745fb-b209-4027-a20d-793310218421 * Proofread * Apply suggestion from @BillWagner * Respond to feedback. --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Please don't squash-merge this PR.
Internal previews
Toggle expand/collapse
Note
This table shows preview links for the 30 files with the most changes. For preview links for other files in this PR, select OpenPublishing.Build Details within checks.